<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>添加用户</title>
    <link rel="stylesheet" type="text/css" href="{{ static('css/reset.css') }}">
    <link rel="stylesheet" type="text/css" href="{{ static('css/main.css') }}">
    <script type="text/javascript" src="{{ static('js/vue-2.5.16.js') }}"></script>
    <script type="text/javascript" src="{{ static('js/axios-0.18.0.min.js') }}"></script>
</head>
<body>
<div id="app">
    <div class="header_con">
        <div class="header" v-cloak>
            <div class="welcome fl">信阳学院图书馆</div>
            <div class="fr">
                <div v-if="username" class="login_btn fl">
                    欢迎您，管理员：<em>[[ username ]]</em>
                    <span>|</span>
                    <a href="{{ url('users:logout') }}">退出</a>
                </div>
                <div v-else class="login_btn fl">
                    <a href="{{ url('users:login') }}">登录</a>
                    <span>|</span>
                    <a href="{{ url('users:register') }}">注册</a>
                </div>
                <div class="user_link fl">
                    <span>|</span>
                    <a href="{{ url('users:info') }}">我的</a>
                </div>
            </div>
        </div>
    </div>
    <div class="search_bar clearfix">
        <a href="{{ url('contents:index') }}" class="logo fl"><img src="{{ static('images/logoz.png') }}"></a>
        <div class="search_wrap fl">
            <form method="get" action="/book_info/" class="search_con">
                <input type="text" class="input_text fl" name="p" placeholder="搜索图书">
                <input type="submit" class="input_btn fr" name="" value="搜索">
            </form>
        </div>
    </div>
    <div class="main_con clearfix">
        <div class="left_menu_con clearfix">
            <h3>管理员</h3>
            <ul>
                <li><a class="active">· 修改用户信息</a></li>
            </ul>
        </div>
        <div class="right_content clearfix" v-cloak>
            <div class="site_top_con">
                <h1 class="common_title2">修改用户信息</h1>
            </div>
            <div class="site_con">
                <ul class="user_info_list">
                    <form method="post" action="/chick_usermassage/" class="register_form">
                        {{ csrf_input }}
                        <ul>
                            <li>
                                <label>学号:{{ id }}</label>
                            </li>
                            <li>
                                <label>用户名:</label>
                                <input type="text" name="username"
                                       id="user_name">
                            </li>
                            <li>
                                <label>年级</label>
                                <select name="grade">
                                    <option value="2017">2017级</option>
                                    <option value="2018">2018级</option>
                                    <option value="2019">2019级</option>
                                    <option value="2020">2020级</option>
                                    <option value="2021">2021级</option>
                                </select>
                            <li>
                                <label>院：</label>
                                <select id="cmbCollege" type="college" v-model="user_college"
                                        name="user_college"></select>
                            </li>
                            <li>
                                <label>系：</label>
                                <select id="cmbDepartment" type="professional" v-model="professional"
                                        name="professional"></select>
                            </li>
                            <li class="reg_sub">
                                <input type="submit" id="btn1" value="修改">
                            </li>
                        </ul>
                    </form>
            </div>
        </div>
    </div>
</div>
</div>
<script src="{{ static('js/register.js') }}"></script>
<script>departmentInit('cmbCollege', 'cmbDepartment', '软件学院', '软件工程');</script>
</body>
</html>